package com.my.study.init.listener;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class DefaultPaymentListener implements PaymentListener{

    @Override
    public void before() {
        // 默认打印日志,可继承接口重新实现逻辑
        log.info("DefaultPaymentListener before");
    }

    @Override
    public void after() {
        // 默认打印日志,可继承接口重新实现逻辑
        log.info("DefaultPaymentListener after");
    }
}
